<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>电影后台管理系统</title>

<!-- 导入CSS，没有CSS就没有网页效果 -->
<link rel="stylesheet" href="22/css22/bootstrap.min.css" />
<!-- 导入JS文件，没有导入jQuery的js文件就不允许使用$符号 -->
<script type="text/javascript" src="22/js22/jquery-1.8.2.min.js"></script>


<!-- 提示框 -->
<script type="text/javascript" src="22/js22/tooltips.js"></script>
<!-- 提示框 -->

</head>

<body>

<nav class="navbar navbar-default" role="navigation" style="margin-left: 60px;margin-right: 60px; margin-top:10px">
	<div class="container-fluid">
		<div class="navbar-header">
			<span class="navbar-brand">筛选</span>
		</div>
		<div>
			<form class="navbar-form navbar-left" role="search" action="user?method=aa" method="post">
				<div class="form-group">
					<input type="text" class="form-control" placeholder="请输入姓名" name="user_name"/>
					<select class="form-control" name="user_sex">
						<option value="" selected="selected">--请选择性别--</option>
						<option value="男">男</option>
						<option value="女">女</option>
					</select>
					<input type="text" class="form-control" placeholder="请输入用户电话" name="user_phone"/>
				</div>
				<button type="submit" class="btn btn-default" id="sbtnSelect">查询</button>
			</form>
		</div>

	</div>
</nav>

<div id="content" style="margin-left: 60px;margin-right: 60px">
	<span>共有 <b>99</b> 条记录</span>
	<table border="1" cellspacing="0" cellpadding="0" class="table table-striped table-hover table-bordered">

		<tr id="theTableTitle">
			<th>用户ID</th>
			<th>姓名</th>
			<th>性别</th>
			<th>出生日期</th>
			<th>用户电话</th>
			<th>家庭地址</th>
			<th>用户类型</th>
			<th>操作</th>
		</tr>

		<tbody id="tableData">
		<c:forEach var="userinfo" items="${userList}">
			<tr>
				<td>${userinfo.user_ID}</td>
				<td>${userinfo.user_name}</td>
				<td>${userinfo.user_sex}</td>
				<td>${userinfo.user_birth}</td>
				<td>${userinfo.user_phone}</td>
				<td>${userinfo.user_home}</td>
				<td>${userinfo.user_type}</td>
				<td>
<%--					<a href="score?method=toupdate&score_id=${userinfo.score_id}">修改</a>--%>
<%--					<a href="score?method=delete&score_id=${userinfo.score_id}">删除</a>--%>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</div>
<div class="footer" style="margin-left: 60px;margin-right: 60px">
	<ul class="pagination pagination myul">
		<li class='disabled'><a>&laquo;首页</a></li>
		<li class='disabled'><a>上一页</a></li>
		<li class='active'><a href='#'>1</a></li>
		<li class=''><a href='#'>下一页 </a></li>
		<li class=''><a href='#'>末页 </a></li>
	</ul>
</div>
</body>
</html>
